package day10;

import day9.java86.Dog;
import day9.java86.Pet;
import day9.java86.Qie;

/**
 * @author oldliu
 * @since 1.0
 */
public class DogTest4 {
    public static void main(String[] args) {
        Object d=new Dog("哮天犬","公","田园犬",5);
        System.out.println(d instanceof  Dog);
        System.out.println(d instanceof Qie);
        System.out.println(d instanceof Pet);
        System.out.println(d instanceof Object);
    }
}
